package com.sevattal.service.leaves.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  采购到货主表
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
@Data
@Accessors(chain = true)
@TableName("t_purchaseArrivalMainOrder")
@ApiModel(value="PurchaseArrivalMainOrder对象", description=" 采购到货主表")
public class PurchaseArrivalOrderVo {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "采购到货单号")
    @TableField(value = "f_pamId")
    private String fPamid;

    @ApiModelProperty(value = "货运单号")
    @TableField("f_pamWaybill")
    private String fPamwaybill;

    @ApiModelProperty(value = "采购单号")
    @TableField("f_pmId")
    private String fPmid;

    @ApiModelProperty(value = "采购员工号")
    @TableField("f_eId")
    private String fEid;

    @ApiModelProperty(value = "采购员名称")
    private String fEname;

    @ApiModelProperty(value = "供应商号")
    @TableField("f_pId")
    private String fPid;

    @ApiModelProperty(value = "供应商名称")
    private String fPname;

    @ApiModelProperty(value = "到货仓库")
    @TableField("f_whId")
    private String fWhid;

    @ApiModelProperty(value = "到货仓库名称")
    private String fWhname;

    @ApiModelProperty(value = "采购到货日期")
    @TableField("f_pamDate")
    private Date fPamdate;

    @ApiModelProperty(value = "到货状态")
    @TableField("f_pamStatus")
    private String fPamstatus;


    @ApiModelProperty(value = "是否确认")
    @TableField("f_pamConfirm")
    private String fPamconfirm;

    @ApiModelProperty(value = "备注")
    @TableField("f_pamMemo")
    private String fPammemo;

    @ApiModelProperty(value = "子表对象")
    private List<PurchaseArrivalChildOrderVo> purchaseArrivalChildOrderVoList;

    @ApiModelProperty(value = "查询用开始时间")
    private Date searchStartDate;

    @ApiModelProperty(value = "查询用结束时间")
    private Date searchEndDate;

}
